public class test{
    public static void main(String[] args){
        // XiaoMiSocket x = new XiaoMiSocket();
        // x.twoSo();
        // x.threeSo();
        // x.USBSo();
        
        //接口回调
        ESocket es = new XiaoMiSocket();
        es.twoSo();
        es.threeSo();
    }
}

interface ESocket{
    
    void twoSo();
    
    void threeSo();
    
}

interface USBSocket{
    
    void USBSo();
    
}

class XiaoMiSocket implements ESocket, USBSocket{
    
    public void twoSo(){
        System.out.println("我是两个插孔的接口");
    }
    
    public void threeSo(){
        System.out.println("我是三个插孔的接口");
    }
    
    public void USBSo(){
        System.out.println("我是USB接口");
    }
    
}

